package com.zxl.study.entities;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;


@Table(name = "meta_table")
@Data
public class MetaTable  {
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 数据库id
     */
    @Column(name = "DATABASE_ID")
    private Integer databaseId;

    /**
     * 模式名
     */
    @Column(name = "SCHEMA_NAME")
    private String schemaName;

    /**
     * 表英文名
     */
    @Column(name = "NAME")
    private String name;

    /**
     * 表中文名(comment)
     */
    @Column(name = "NAME_alias")
    private String nameAlias;

    /**
     * 是否已删除(0否1是)
     */
    @Column(name = "IS_DELETED")
    private Boolean isDeleted;

    /**
     * 创建人
     */
    @Column(name = "CREATE_PERSON")
    private String createPerson;

    /**
     * 创建时间
     */
    @Column(name = "CREATE_TIME")
    private Date createTime;

    /**
     * 更新人
     */
    @Column(name = "UPDATE_PERSON")
    private String updatePerson;

    /**
     * 更新时间
     */
    @Column(name = "UPDATE_TIME")
    private Date updateTime;
}
